# delete a file
echo "deleting previous merge file"
rm -f compile.lua

echo "creating a new merge file"
# merge all files in a single file
cat utiles.lua > compile.lua
cat ui.lua >> compile.lua
cat main.lua >> compile.lua

# compile a programm
echo "compiling..."
plua2c -o sdvt.prc -name SDvt compile.lua

echo "done"
